export const DataJson = [
  {
    id: '1',
    shape: 'my-node',
    x: 20,
    y: 10,
    data: {
      num: 0,
      num2: 100,
    },
  },
  {
    id: '2',
    shape: 'my-node',
    x: 250,
    y: 10,
    data: {
      num: 2,
    },
  },
  {
    id: '2-1',
    shape: 'my-node',
    x: 250,
    y: 300,
    data: {
      num: 2.1,
    },
  },
  {
    id: '3-1',
    shape: 'my-node',
    x: 250,
    y: 600,
    data: {
      num: 2.1,
    },
  },
  {
    id: '3',
    shape: 'my-node',
    x: 450,
    y: 10,
    data: {
      num: 3,
    },
  },
  {
    id: '4',
    shape: 'my-node',
    x: 650,
    y: 10,
    data: {
      num: 4,
    },
    zIndex: 0,
  },
  {
    id: '5',
    shape: 'my-node',
    x: 850,
    y: 10,
    data: {
      num: 4,
    },
  },
  {
    id: '6',
    shape: 'my-node',
    x: 1050,
    y: 10,
    data: {
      num: 6,
    },
  },
  {
    id: 'edge-1',
    shape: 'bpmn-edge',
    source: '1',
    target: '2',
    router: {
      name: 'manhattan',
    },
  },
  {
    id: 'edge-2',
    shape: 'bpmn-edge',
    source: '2',
    target: '3',
    router: {
      name: 'manhattan',
    },
  },
  {
    id: 'edge-3',
    shape: 'bpmn-edge',
    source: '3',
    target: '4',
    router: {
      name: 'manhattan',
    },
  },
  {
    id: 'edge-4',
    shape: 'bpmn-edge',
    source: '4',
    target: '5',
    zIndex: 0,
    router: {
      name: 'manhattan',
    },
  },
  {
    id: 'edge-5',
    shape: 'bpmn-edge',
    source: '5',
    target: '6',
    zIndex: 0,
    router: {
      name: 'manhattan',
    },
  },
  {
    id: 'edge-6',
    shape: 'bpmn-edge',
    source: '1',
    target: '2-1',
    zIndex: 0,
    router: {
      name: 'manhattan',
    },
  },
  {
    id: 'edge-7',
    shape: 'bpmn-edge',
    source: '1',
    target: '3-1',
    zIndex: 0,
    router: {
      name: 'manhattan',
    },
  },
  {
    id: 'edge-8',
    shape: 'bpmn-edge',
    source: '3-1',
    target: '5',
    zIndex: 0,
    router: {
      name: 'manhattan',
    },
  },
]

export const customJson = [
  {
    id: '1',
    shape: 'custom-node',
    x: 20,
    y: 10,
    data: {
      title: '朔黄',
    },
  },
  {
    id: '2',
    shape: 'custom-node',
    x: 200,
    y: 10,
    data: {
      title: '朔黄1-1',
    },
  },
  {
    id: '3',
    shape: 'custom-node',
    x: 380,
    y: 10,
    data: {
      title: '朔黄1-2',
    },
  },
  {
    id: '4',
    shape: 'custom-node',
    x: 20,
    y: 200,
    data: {
      title: '朔黄2-1',
    },
  },
  {
    id: 'edge-1',
    shape: 'bpmn-edge',
    source: '1',
    target: '2',
    router: {
      name: 'manhattan',
    },
  },
  {
    id: 'edge-2',
    shape: 'bpmn-edge',
    source: '2',
    target: '3',
    router: {
      name: 'manhattan',
    },
  },
  {
    id: 'edge-3',
    shape: 'bpmn-edge',
    source: '1',
    target: '4',
    router: {
      name: 'manhattan',
    },
  },
  {
    id: 'edge-4',
    shape: 'bpmn-edge',
    source: '4',
    target: '3',
    router: {
      name: 'manhattan',
    },
  },
]
